package com.dianping.cat.configuration.server.filter.entity;

import com.dianping.cat.configuration.server.filter.BaseEntity;
import com.dianping.cat.configuration.server.filter.IVisitor;





public class AtomicTreeConfig
  extends BaseEntity<AtomicTreeConfig>
{
  private String m_startTypes;
  private String m_matchTypes;

/* 16 */   public void accept(IVisitor visitor) { visitor.visitAtomicTreeConfig(this); }



  public boolean equals(Object obj) {
/* 21 */     if (obj instanceof AtomicTreeConfig) {
/* 22 */       AtomicTreeConfig _o = (AtomicTreeConfig)obj;

/* 24 */       if (!equals(getStartTypes(), _o.getStartTypes())) {
/* 25 */         return false;
      }

/* 28 */       if (!equals(getMatchTypes(), _o.getMatchTypes())) {
/* 29 */         return false;
      }


/* 33 */       return true;
    }

/* 36 */     return false;
  }


/* 40 */   public String getMatchTypes() { return this.m_matchTypes; }



/* 44 */   public String getStartTypes() { return this.m_startTypes; }




  public void mergeAttributes(AtomicTreeConfig other) {
/* 59 */     if (other.getStartTypes() != null) {
/* 60 */       this.m_startTypes = other.getStartTypes();
    }

/* 63 */     if (other.getMatchTypes() != null) {
/* 64 */       this.m_matchTypes = other.getMatchTypes();
    }
  }

  public AtomicTreeConfig setMatchTypes(String matchTypes) {
/* 69 */     this.m_matchTypes = matchTypes;
/* 70 */     return this;
  }

  public AtomicTreeConfig setStartTypes(String startTypes) {
/* 74 */     this.m_startTypes = startTypes;
/* 75 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-core-3.0.0.jar!/com/dianping/cat/configuration/server/filter/entity/AtomicTreeConfig.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */